<!DOCTYPE html>
<html>
<head>
    <title>设置Token</title>
</head>
<body>
    <h1>设置Token</h1>
    <button onclick="setToken()">点击设置Token</button>
    <p>设置完成后，请访问 <a href="http://localhost:5176/" target="_blank">论坛页面</a></p>
    
    <script>
        function setToken() {
            const token = 'eyJhbGciOiJIUzI1NiJ9.eyJVSUQiOjIsIm5pY2tOYW1lIjoic0lUdnBWdnNaMmpERHNoUWFFeWJoakpjWGFZNFlIIiwiZXhwIjoxNzYxMjAzMjgwLCJlbWFpbCI6IjI2MzU0MjYxNTRAcXEuY29tIn0.O1CQOfUAkSfobjt7FlRXTNBqrx5j1PK0UmonANKuhGE';
            localStorage.setItem('token', token);
            alert('Token已设置成功！');
        }
    </script>
</body>
</html>